package com.hutra.net {
	
	import flash.events.Event;
	
	/**
	 * @author hungconcon
	 */
	public class JEvent extends Event {
		
		private var t:String;
		private var o:Object;
		private var d:Object;
		
		public function JEvent(a:String, b:Object) {
			super(a, false, false);
			t = a;
			o = b;
		}
		
		public function get data():Object {
			return d;
		}
		
		override public function get type():String {
			return t;
		}
		
		override public function get target():Object {
			return null;
		}
		
		override public function get currentTarget():Object {
			if (o == null)
				return null;
			return o;
		}
	
	}
}